package com.itheima.demo;

public class StudentTest {
    public static void main(String[] args) {
        Student student = new Student("张三",23);
        Student student2 = new Student("张三",23);
        System.out.println(student);
        System.out.println(student2);
        System.out.println(student == student2);
        System.out.println(student.equals(student2));

    }
}
